package com.hsgene.supplier.service.api.impl;

import com.hsgene.common.util.exception.CommonErrorCode;
import com.hsgene.common.util.result.ApiResult;
import com.hsgene.common.util.result.NullObject;
import com.hsgene.supplier.service.api.ElasticsearchService;
import org.springframework.stereotype.Component;

/**
 * @Description: //TODO
 * @ProjectName: hdas-geneshop-server
 * @Package: com.hsgene.supplier.service.api.impl
 * @Author: FX
 * @CreateDate: 2019/1/4 11:25
 * @Version: 1.0
 * Copyright: Copyright (c) 2019
 */
@Component
public class ElasticsearchServiceImpl implements ElasticsearchService {

    @Override
    public ApiResult<NullObject> updateByQuery(String queryName, String queryValue, String idOrCode) {
        return ApiResult.fail(CommonErrorCode.PRODUCT_SERVICE_NOT_AVAILABLE);
    }
}
